import request from "@/utils/request";

export  function listNjtUserRegister(query) {
  return request({
    url: "/nongjt/njtUserRegister/list",
    method: "get",
    params: query
  });
}

export function updateNjtUserRegister(data) {
  return request({
    url: "/nongjt/njtUserRegister/add",
    method: "put",
    data: data
  });
}

// 添加删除接口
export function delNjtUserRegister(id) {
  return request({
    url: "/nongjt/njtUserRegister/" + id,
    method: "delete"
  });
}
